package router

import (
	"github.com/gin-gonic/gin"
	v1 "guns-go/controller/v1"
)

func InitSysPosRouter(Router *gin.RouterGroup) (R gin.IRoutes) {
	PosRouter := Router.Group("sysPos")
	{
		PosRouter.GET("list", v1.SysPosList)
		PosRouter.POST("add", v1.PosAdd)
		PosRouter.POST("edit", v1.PosEdit)
		PosRouter.POST("delete", v1.PosDelete)
		PosRouter.GET("page", v1.PosPage)
	}
	return PosRouter
}
